<template>
  <el-tabs v-model="activeName">
    <el-tab-pane label="自动版" name="1">
      <auto-list />
    </el-tab-pane>
    <el-tab-pane label="手动版" name="2">
      <manual-list />
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import autoList from './autoList.vue'
import ManualList from './manualList.vue'

export default {
  components: { autoList, ManualList },
  name: 'dispatchCustomer',
  data() { return { activeName: '1' } },
  mounted() {
    if(this.$route.query.activeName) this.activeName = this.$route.query.activeName
  }
}
</script>


<style lang="scss" scoped></style>
